<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<script type="text/javascript">
	function load(){
		
	}
</script>
<div>
	<form id="infoForm" target="hiddenFrame" action="${path}/mc/picsaveInfo" method="post" enctype="multipart/form-data">
		<input type="hidden" name="entity.id" value="${entity.id}" />
		<fieldset style="padding-left: 10px;">
			<table>
			${entity.id}${entity.suffix }
				<tr>
			  		<td>系统图片</td>
			  		<td>
			  			<input type="file" name="picfile">
			  		</td>
			  	</tr>
			  	<tr>
			  		<td>图片缩略图</td>
			  		<td>
			  			 <img id=images height="300" width="300" src="http://mengzhu.oss-cn-shenzhen.aliyuncs.com/"+${entity.id}${entity.suffix }>
			  		</td>
			  	</tr>
				<tr>
					<%-- <td>图片id</td>
					<td>
						<input type="text" name="entity.id" value="<c:choose><c:when test="${empty entity.id}"></c:when><c:otherwise>${entity.id}</c:otherwise></c:choose>"
			  				class="{required:true,messages:{required:'标题不能为空'}}"> 
					</td> --%>
				</tr>
			  	<%-- <tr>
			  		<td>系统图片</td>
			  		<td>
			  			<input type="file" name="picfile" value="<c:choose><c:when test="${empty entity.logo}"></c:when><c:otherwise>${entity.logo}</c:otherwise></c:choose>">
			  		</td>
			  	</tr> --%>
			  	
		   </table>
		</fieldset>
	</form>
</div>
